/*
 *  APanVolEffect.h
 *  libavid
 *
 *  Created by Peter on 26.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */
#ifndef A_PAN_VOL_EFFECT_H
#define A_PAN_VOL_EFFECT_H

#include "ATrackEffect.h"

// Version: 5 (MC 7 old versioning scheme, 5.0.3)
class APanVolEffect : public ATrackEffect
{

public:
	
	A_DECLARE_CLASS( 'PVOL', APanVolEffect, ATrackEffect );
	
	virtual void readFromStream( AStream& str, const AObjDoc& objd );
	virtual void dump( std::ostream& str ) const;
	
	Int32 _level;              // OMFI:PVOL:MC:Level: 536870912
	Int32 _pan;                // OMFI:PVOL:MC:Pan: 27853
	bool  _suppressValidation; // OMFI:PVOL:MC:SuppressValidation: False
	bool  _levelSet;           // OMFI:PVOL:MC:LevelSet: False
	bool  _panSet;             // OMFI:PVOL:MC:PanSet: True

	// PClass Ext DoesSupportSeprtClipGain (note their typo :)
	Int32 _doesSupportClipGain; // OMFI:PVOL:MC:DoesSuprtSeprtClipG: 1

	// PClass Ext IsTrimGainEffect
	Int32 _isTrimGainEffect;    // OMFI:PVOL:MC:IsTrimGainEffect: 0
	
};

#endif /*Inclusion Guard*/